From fb7807c1ecdfdffc79ffa775ac50c35b0bd2fc27 Mon Sep 17 00:00:00 2001 From: "chris@kneesaa.uk.xensource.com" Date: Thu, 17 Aug 2006 11:34:39 +0100 Subject: [PATCH] [qemu patches] Update patches for changeset 11158:a774cbd38187. Signed-off-by: Christian Limpach --- tools/ioemu/patches/qemu-daemonize | 20 ++++++++++++++++++++ tools/ioemu/patches/series | 1 + 2 files changed, 21 insertions(+) create mode 100644 tools/ioemu/patches/qemu-daemonize diff --git a/tools/ioemu/patches/qemu-daemonize b/tools/ioemu/patches/qemu-daemonize new file mode 100644 index 0000000000..0d19d435b4 --- /dev/null +++ b/tools/ioemu/patches/qemu-daemonize @@ -0,0 +1,20 @@ +Changes required because qemu-dm runs daemonized. + +Index: ioemu/vl.c +=================================================================== +--- ioemu.orig/vl.c 2006-08-16 15:11:32.575865776 +0100 ++++ ioemu/vl.c 2006-08-16 15:11:36.217465702 +0100 +@@ -6036,10 +6036,11 @@ + } + break; + case QEMU_OPTION_nographic: +- pstrcpy(monitor_device, sizeof(monitor_device), "stdio"); ++ if(!strcmp(monitor_device, "vc")) ++ pstrcpy(monitor_device, sizeof(monitor_device), "null"); + if(!strcmp(serial_devices[0], "vc")) + pstrcpy(serial_devices[0], sizeof(serial_devices[0]), +- "stdio"); ++ "null"); + nographic = 1; + break; + case QEMU_OPTION_kernel: diff --git a/tools/ioemu/patches/series b/tools/ioemu/patches/series index 21dd2e065e..ff27dda9e6 100644 --- a/tools/ioemu/patches/series +++ b/tools/ioemu/patches/series @@ -41,3 +41,4 @@ qemu-allow-disable-sdl qemu-fix-memset-args qemu-fix-write-to-disk-synchronous xen-support-buffered-ioreqs +qemu-daemonize -- 2.30.2